import com.aliyun.odps.udf.UDF;
import com.google.gson.Gson;

public class some_version extends UDF {
    // TODO define parameters and return type, e.g:  public String evaluate(String a, String b)
    public String evaluate(String s1,String s2,String s3,String s4) {
        version_json vj = new version_json();
        vj.setApk_version(s1);
        vj.setFirmware_edition(s2);
        vj.setSoftware_version(s3);
        vj.setSystem_version(s4);
        Gson gson = new Gson();
        String json = gson.toJson(vj);
        return json;

    }
}